export interface BaseResponse {
  code: string;
  tips: string;
  data?: any;
}
export interface BasePageReq {
  pageNum: number;
  pageSize: number;
}
export interface BasePageResp {
  total: number;
  size: number;
  current: number;
  searchCount: boolean;
  pages: number;
}

export interface BaseParam {
  id?: number;
  createTime?: string;
  updateTime?: string;
}

export interface ResultType {
  name?: string,
  label?: string,
  value?: any
}
export interface DropdownMenuDataItemType {
  label: string,
  value: any,
  activeIndex: any,
  color: string,
  activeColor: string,
  child: ResultType[]
}

export interface DropdownMenuDataType {
  order?: DropdownMenuDataItemType,
  type?: DropdownMenuDataItemType,
  deliveryTime?: DropdownMenuDataItemType
}

export interface UserInfo {
  avatar: string;
  nickname: string;
  timeAgo?: string;
  content?: string;
  pic?: string;
}